var http  = require('http');
http.createServer(function (req,res){
	var boby = [];
	// console.log(req.method);
	// console.log(req.headers);
	// console.log(req);
	req.on('data',function(chunk){
		boby.push(chunk);
	});
	req.on('end',function(){
		body = Buffer.concat(boby);
		console.log(boby.toString());
	});
	res.writeHead(200,{'Content-Type':'text-plain'});
	res.end('{"sdf":wer,"qwe":123}');
}).listen(8124);